package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.Map;

import com.kayt.cyberBar.cuser.business.entity.po.BUserDetail;

public interface IUserDetailDao {
	Integer save(BUserDetail entity) throws SQLException;

	Integer update(BUserDetail entity) throws SQLException;

	Integer delete(Long id);

	BUserDetail findById(Long id);

	Map<String, BUserDetail> findUserMapByStoreCode(Integer pageNum, Integer pageSize, String storeCode,String departCode)
			throws SQLException;

	BUserDetail findByCode(String userCode) throws SQLException;

	BUserDetail findByWorkCode(String workCode) throws SQLException;
}
